package com.huangkailong.designpattern.adapter.interfaces;

import com.huangkailong.designpattern.adapter.Ac220v;

/**
 * 接口适配器模式测试.
 *
 * @author huangkl
 * @since 1.0.0
 */
public class Client {
    /**
     * main.
     */
    public static void main(String[] args) {
        Dc dc5v = new Dc5v(new Ac220v());
        int i = dc5v.outputDc5v();
        System.out.println("输出 AC" + i + "V");
    }
}
